import { ApiProperty } from '@nestjs/swagger';
export class LoginOrRegisterSuccess {
    @ApiProperty({ example: `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IjExMjFzZHNlcjIxMSIsInV1aWQiOiIxNjEzOTMxMy0zZjQ5LTkyYWQtNzVlZS04MTZhMTY3ZTU5MjYiLCJpYXQiOjE2MDk1MjA1MjQsImV4cCI6MTYxNDcwNDUyNH0.rxP-VrjhEsleEC-GLtOGWiyRL43zzs6ZPw4rmzG_DYU`, description: 'token令牌' })
    access_token: string;
  }
export class userInfo{
  @ApiProperty()
  uuid: string;
  @ApiProperty()
  username: string|null;
  @ApiProperty()
  password: string;
  @ApiProperty()
  nickname: string;
  @ApiProperty()
  avatar: string | null;
  @ApiProperty()
  email: string | null;
  @ApiProperty()
  gmtCreate: string;
  @ApiProperty()
  gmtModified: string;

}
  